package com.example.factorymethodpattern.factory;

import com.example.factorymethodpattern.product.AbstractCar;
import com.example.factorymethodpattern.product.PentiumCar;

// 奔腾汽车工厂
public class PentiumCarFactory implements CarFactory{

    @Override
    public AbstractCar produceCar() {
        return new PentiumCar();
    }
}
